package com.bwie.service;

import com.bwie.common.domain.Menu;
import com.bwie.common.domain.User;

import java.util.List;

/**
 * @className: SysService
 * @Description: TODO
 * @version: v1.８.0
 * @author: GONGWENXUE
 * @date: 2025/10/22 9:27
 */
public interface SysService {
    /**
     * 用户名登录
     * @param username
     * @return
     */
   User selectNameByUser(String username);

    /**
     * 手机号码吗登录
     * @param phone
     * @return
     */
    User selectPhoneByUser(String phone);

    /**
     * 菜单树
     * @return
     */
    List<Menu> getMenu(Integer userId);


}
